#ifndef __RTC_Init_
#define __RTC_Init_

#ifdef __cplusplus
extern "C" {
#endif

#include "Board.h"
#include "stdio.h"
#include "apm32f0xx_gpio.h"
#include "apm32f0xx_misc.h"
#include "apm32f0xx_eint.h"
#include "apm32f0xx_rtc.h"
#include "apm32f0xx_pmu.h"
#include "usart.h"

void RTC_Init(void);
//void RTC_EintConfig(void);
void RTC_Cali(u8 time[]);
void RTC_Isr(void);

#ifdef __cplusplus
}
#endif

#endif


